#!/bin/sh

set -e

[ -e /dev/rfkill ] || exit 0

rfkill block all

for devtype in bluetooth wifi wwan wimax ; do
   rfkill unblock "$devtype"
done
